/*
* ���ܻ�������汾��Ϣ:
*/
  var browser={
    versions:function(){
           var u = navigator.userAgent, app = navigator.appVersion;
           return {//�ƶ��ն�������汾��Ϣ
                trident: u.indexOf('Trident') > -1, //IE�ں�
                presto: u.indexOf('Presto') > -1, //opera�ں�
                webKit: u.indexOf('AppleWebKit') > -1, //ƻ�����ȸ��ں�
                gecko: u.indexOf('Gecko') > -1 && u.indexOf('KHTML') == -1, //����ں�
                mobile: !!u.match(/AppleWebKit.*Mobile.*/)||!!u.match(/AppleWebKit/), //�Ƿ�Ϊ�ƶ��ն�
                ios: !!u.match(/i[^;]+;( U;)? CPU.+Mac OS X/), //ios�ն�
                android: u.indexOf('Android') > -1 || u.indexOf('Linux') > -1, //android�ն˻���uc�����
                iPhone: u.indexOf('iPhone') > -1 || (u.indexOf('Mac') > -1 && u.indexOf('Macintosh') < 0), //�Ƿ�ΪiPhone����QQHD�����
                iPad: u.indexOf('iPad') > -1, //�Ƿ�iPad
                webApp: u.indexOf('Safari') == -1 //�Ƿ�webӦ�ó���û��ͷ����ײ�
            };
         }(),
         language:(navigator.browserLanguage || navigator.language).toLowerCase()
}
if (browser.versions.ios||browser.versions.android||browser.versions.iPhone||browser.versions.iPad) {
	
	self.location="https://condingpary.gitee.io/hmzx/mobile";
	
	var zi_ymu=window.location.href;
	var s_ymu1="https://condingpary.gitee.io/hmzx";
	var s_ymu2="https://condingpary.gitee.io/hmzx";
	if(zi_ymu.indexOf(s_ymu1) >= 0){self.location="https://condingpary.gitee.io/hmzx/mobile";}
	else if(zi_ymu.indexOf(s_ymu2) >= 0){self.location="https://condingpary.gitee.io/hmzx/mobile";}
	
	var host = window.location.href;
	//if(host.indexOf('www.whcondingpary.gitee.io/hmzx.cc/xiongbuzhengxing/')>=0){}
}